﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Festival_Locator.Organisator
{
    public partial class EditFestivals : BasePage //System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
        {
            if (e.Row.RowType == DataControlRowType.DataRow)
            {
                LinkButton lbEdit = (LinkButton)e.Row.Cells[0].Controls[0];
                lbEdit.Text = "<i class='icon-edit icon-white'></i>";
                lbEdit.BorderColor = System.Drawing.Color.Black;
                lbEdit.ForeColor = System.Drawing.Color.Red;

                LinkButton lbDelete = (LinkButton)e.Row.Cells[0].Controls[2];
                lbDelete.Text = "<i class='icon-remove icon-white'></i>";
                lbDelete.BorderColor = System.Drawing.Color.Black;
            }
        }

        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);
        }
    }
}